package cn.itsource.pethome.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @description: 基础查询对象
 * @auth:
 */
@Data
@ApiModel(description = "基础查询对象")
public class BaseQuery {
    @ApiModelProperty(value = "用于做批量查询的id数组")
    private Long[] ids;
    @ApiModelProperty(value = "关键字查询")
    private String keyword;//关键字查询
    @ApiModelProperty(value = "当前页")
    private Integer current = 1; //当前页
    @ApiModelProperty(value = "每页显示多少条")
    private Integer size = 10; //每页显示多少条
}